<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "setting".
 *
 * @property int $id
 * @property int $order_pay 订单是否需要支付
 * @property int $user_auth_audit 企业认证是否需要审核
 * @property string $about 关于我们
 */
class Setting extends Base
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'setting';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['order_pay', 'user_auth_audit', 'open_push_admin', 'show_cancel'], 'integer'],
            [['about', 'contact'], 'string'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'order_pay' => 'Order Pay',
            'user_auth_audit' => 'User Auth Audit',
            'about' => 'About',
        ];
    }
}
